package com.sisyphus.simple.data.network.model;

import com.sisyphus.spinach.core.model.IPageResponse;

import java.util.List;

public class ListResponse<T> implements IPageResponse<T> {

    public final static int PAGE_NUMBER = 10;


    private int page;

    private int number;

    private List<T> data;

    @Override
    public boolean hasMore() {
        return number >= PAGE_NUMBER;
    }

    @Override
    public List<T> getList() {
        return data;
    }

}
